package com.probiz.estore.system.dao.impl;

import java.util.List;

import com.probiz.estore.common.model.system.AppResource;
import com.probiz.estore.core.dao.impl.HibernateGenericDaoImpl;
import com.probiz.estore.system.dao.ResourceDao;

/**
 * Resource Data Access Object (DAO) implementation.
 * Developer introduced interfaces should be declared here. Won't get overwritten.
*/
public class ResourceDaoImpl extends HibernateGenericDaoImpl<AppResource> implements ResourceDao {
	public List getAllResources(){
		String hql="from AppResource rs order by rs.resourceString desc";
		return findByHql(hql);
	}
}